//
//  createViewController.m
//  LanQiuQuan
//
//  Created by TonyGenius on 16/3/30.
//  Copyright © 2016年 Rip. All rights reserved.
//

#import "createViewController.h"
#import "Marco.h"

@interface createViewController ()
{
    XMTabBarController *_tab;
}

@property (weak, nonatomic) IBOutlet UIButton *Btn3V3;

@property (weak, nonatomic) IBOutlet UIButton *Btn5V5;

@end

@implementation createViewController

- (void)viewDidLoad {
    [super viewDidLoad];
//    _Btn3V3.highlighted = YES;
    _Btn3V3.selected = YES;
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewWillAppear:(BOOL)animated
{
    _tab = (XMTabBarController *)self.tabBarController;
    [_tab xmTabBarHidden:YES animated:YES];
}

- (IBAction)V3Btn:(id)sender {
    
    _Btn3V3.selected = !_Btn3V3.selected;
    _Btn5V5.selected = NO;
}

- (IBAction)V5Btn:(id)sender {
    
    _Btn5V5.selected = !_Btn5V5.selected;
    _Btn3V3.selected = NO;
}

- (IBAction)chooseHomeTeam:(id)sender {
    
//    MyTeamsViewController *myTeamsVC = [[MyTeamsViewController alloc] init];
//    [self presentViewController:myTeamsVC animated:YES completion:nil];
}

- (IBAction)chooseGuestTeam:(id)sender {
}


- (IBAction)createBtn:(id)sender {
    ScroingTableViewController *scroingTabelVC = [[ScroingTableViewController alloc] init];
    
    
    [self.navigationController pushViewController:scroingTabelVC animated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
